<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>添加内容</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!-- Apple devices fullscreen -->
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- Apple devices fullscreen -->
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link href="__STATIC__/admin/css/main.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="__STATIC__/js/jquery-1.8.2.min.js"></script>
</head>
<body>
<style type="text/css">
body{font-family: Arial; color: #333; font-size: 12px; background: #f3f3f3; line-height: 1.5; _width: 98%; overflow-x: hidden; overflow-y: auto;}
.wrap {padding: 20px 20px 70px; }
.col-auto {overflow: hidden; _zoom: 1; _float: left; border: 1px solid #c2d1d8; }
.h_a {padding: 5px 9px; border-top: 1px solid #ddd; border-bottom: 1px solid #ffffff; color: #666666; font-weight: 700; background: #e6e6e6; font-size: 1}
.col-right {float: right; width: 210px; overflow: hidden; margin-left: 6px; border: 1px solid #c2d1d8; }
.must_red {font-family: Simsun; color: #ff0000; margin-top: 3px; margin-left: -13px; position: absolute; font-size: 14px; }

.table_full {margin-bottom: 10px; }
.table_full th {padding: 7px 10px 9px; background-color: #f8f8f8; border-right: 1px solid #e5e3e3; font-weight: 100; line-height: 24px; vertical-align: top; }
.table_full td {padding: 7px 10px 9px 15px; color: #666; vertical-align: top; }
.table_full tr:hover th{background-color:#eef3f6; }
.table_full tr:hover td{color:#000; background-color:#eef3f6; }
</style>
<div class="wrap J_check_wrap">
	<form name="myform" id="myform" action="{:url('content/add')}" method="post" class="J_ajaxForms" enctype="multipart/form-data">
	    <div class="col-right"></div>
		<div class="col-auto">
			<div class="h_a">信息发布</div>
			<div class="table_full">
				<table width="100%">
				<tbody>
				{php}
				if(is_array($forminfos['base'])) {
				   foreach($forminfos['base'] as $field=>$info) {
				       if($info['isomnipotent']) continue;//万能字段跳出
				{/php}
			        <tr>
			          <th width="80">
			            {$info['name']}
			           </th>
			           <td>{if $info['star']}<span class="must_red">*</span>{/if}{$info['form']} <span>{$info['tips']}</span></td>
			        </tr>
				{php}
				   }
				}
				{/php}
				</tbody>
				</table>
			</div>
		</div>


		<div class="btn_wrap" style="z-index:999;text-align: center;">
			<div class="btn_wrap_pd">
				<input type="hidden" name="ajax" value="1" />
				<button class="btn btn_submit J_ajax_submit_btn1" type="submit">提交</button>
				<button class="btn J_ajax_close_btn" type="submit">关闭</button>
			</div>
		</div>
		<input type="hidden" name="catid" value="{$catid}"/>
	</form>
</div>
<script type="text/javascript" src="__STATIC__/admin/js/content_addtop.js"></script>
</body>
</html>